package com.kichina.parking.service.logic.bean;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 固定车注册与修改记录表
 * </p>
 *
 * @author Surging
 * @since 2022-09-22
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class StationaryCarRecord extends Model<StationaryCarRecord> {

    private static final long serialVersionUID = 1L;

    /**
     * 固定车注册与修改记录表ID
     */
    @TableId(value = "stationary_car_id", type = IdType.UUID)
    private String stationaryCarId;

    /**
     * 车牌记录号(重要)	
     */
    private String cardId;

    /**
     * 上传结果记录
     */
    private String message;

    /**
     * 接口名称	
     */
    private String service;

    /**
     * 车场ID	
     */
    private String parkid;

    /**
     * 结果Code；0：成功；
     */
    private Integer resultCode;

    /**
     * 车牌
     */
    private String carNumber;

    /**
     * 随机字符
     */
    private String uuid;

    /**
     * 创建时间
     */
    private Date createTime;

    /**
     * 更新时间
     */
    private Date updateTime;


    @Override
    protected Serializable pkVal() {
        return this.stationaryCarId;
    }

}
